/*
 * ObjectPrototype.java - ScriptME
 * 
 * Copyright (c) 2009 Cesar Henriques <cesar at alttab.com.ar>.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser Public License v2.1
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Based on FESI Project
 * 
 * Contributors:
 * 	Jean-Marc Lugrin - initial API and implementation
 * 	Cesar Henriques <cesar at alttab.com.ar> - J2ME Porting and Extensions
 */
package org.scriptme.ecmascript.data;

import org.scriptme.ecmascript.interpreter.Evaluator;

/**
 * Implements the prototype and is the class of all Object objects.
 * <P>
 * All functionality of objects is implemented in the superclass ESObject.
 */
public class ObjectPrototype extends ESObject {

	/**
	 * Create a new Object with a specific prototype. This should be used by
	 * routine implementing object with another prototype than Object. To create
	 * an EcmaScript Object use ObjectObject.createObject()
	 * 
	 * @param prototype
	 *            the prototype
	 * @param evaluator
	 *            the evaluator
	 */
	public ObjectPrototype(ESObject prototype, Evaluator evaluator) {
		super(prototype, evaluator);
	}
}
